﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Common.Logging;
using SupportLibrary.Message;
using SupportLibrary;

namespace Automation.Dal.Excel.Dao
{
    public class TestPlanDao
    {
        private ILog log = LogManager.GetLogger(typeof(TestPlanDao));
         private ExcelProvider _exProvider;
        private string _Path;
        public TestPlanDao(string path)
        {
            _Path = path;
            _exProvider = ExcelProvider.Create(@path);
            if (_exProvider == null)
                //MessageShow.FileDoesNotExist(path);
                throw new Exception(path + "doesnot exist!");
        }
    }
}
